package com.opendeepsearch.state;

// 搜索结果类
public class SearchResult {
    private String title;
    private String url;
    private String content;
    private String snippet;
    private double relevanceScore;

    public SearchResult(String title, String url, String content, String snippet, double relevanceScore) {
        this.title = title;
        this.url = url;
        this.content = content;
        this.snippet = snippet;
        this.relevanceScore = relevanceScore;
    }

    public String getTitle() { return title; }
    public String getUrl() { return url; }
    public String getContent() { return content; }
    public String getSnippet() { return snippet; }
    public double getRelevanceScore() { return relevanceScore; }
}